package copy;

import java.io.BufferedReader;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.PrintWriter;
import java.io.Serializable;

public class Clienter implements Serializable {
	/**                           
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private BufferedReader br;
	private PrintWriter pw;
	private String ip;
	private String nikeName;
	private ObjectInputStream ois;
	private ObjectOutputStream oos;
	public Clienter() {
		super();
	}
	
	public Clienter(BufferedReader br, PrintWriter pw, String ip, ObjectInputStream ois, ObjectOutputStream oos) {
		super();
		this.br = br;
		this.pw = pw;
		this.ip = ip;
		this.ois = ois;
		this.oos = oos;
	}

	public BufferedReader getBr() {
		return br;
	}
	public void setBr(BufferedReader br) {
		this.br = br;
	}
	public PrintWriter getPw() {
		return pw;
	}
	public void setPw(PrintWriter pw) {
		this.pw = pw;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getNikeName() {
		return nikeName;
	}
	public void setNikeName(String nikeName) {
		this.nikeName = nikeName;
	}
	
	public ObjectInputStream getOis() {
		return ois;
	}

	public void setOis(ObjectInputStream ois) {
		this.ois = ois;
	}

	public ObjectOutputStream getOos() {
		return oos;
	}

	public void setOos(ObjectOutputStream oos) {
		this.oos = oos;
	}
	
	@Override
	public String toString() {
		return "Clienter [br=" + br + ", pw=" + pw + ", ip=" + ip + ", nikeName=" + nikeName + "]";
	}
	

}
